/*
 * @Description: 接口文档
 * @fileName:
 * @Author: LiSuwan
 * @Date: 2022-10-22 09:18:35
 * @LastEditors: 李苏皖 onceseo@163.com
 * @LastEditTime: 2025-08-31 21:40:19
 */
export default {
  // ====== 测试环境地址 start ======
  development: 'http://123.57.149.144/', // 开发环境  测试地址
  // development: 'https://nature.xz.cn/',
  // ====== 测试环境地址 start ======
  // ====== 正式环境地址 start ======
  production: 'https://wxsx.cloud', // 生产环境  正式地址
  // ====== 正式环境地址 end ======
  publicUrl: 'orderPlusApi/', //url公共的部分
  //============Lisuwan start===============
  queryUserInfo: 'business/appUser/queryUserInfo', //用户信息
  initWechatPayWeb: 'app/wechatPay/initWechatPayWeb', //扫码支付
  wechatPayWeb: 'app/wechatPay/wechatPayWeb', //web微信扫码支付(第一次拉起了支付，但没支付，10分钟内重新去支付拉起的这一单)
  queryPayOrder: 'business/payOrder/queryPayOrder', //查询订单状态
  corporateTransferAdd: 'business/corporateTransfer/add', //提交支付截图转账
  uploadCorporateTransfer: 'business/corporateTransfer/uploadCorporateTransfer', //上传支付截图
  corporateTransferPass: 'business/corporateTransfer/pass', //通过订单
  corporateTransferReject: 'business/corporateTransfer/reject', //驳回订单
  payOrderList: 'business/payOrder/getPageList', //支付订单列表
  corporateTransferList: 'business/corporateTransfer/getPageList', //线上转账订单列表
  companyReject: 'business/company/reject', //资质审核驳回
  companyPass: 'business/company/pass', //资质审核通过
  queryAuditRecord: 'business/company/queryAuditRecord', //公司审批记录
  companySubmit: 'business/company/submit', //上传营业执照
  uploadBusinessLicence: 'business/company/uploadBusinessLicence', //上传图片
  inventoryStatisticsStatisticsHistoryOut: 'business/inventoryStatistics/statisticsHistoryOut', //库存统计历史出库Top10
  inventoryStatisticsStatisticsHistoryBrand: 'business/inventoryStatistics/statisticsHistoryBrand', //库存统计历史入库品牌Top10
  inventoryStatisticsStatisticsTotal: 'business/inventoryStatistics/statisticsTotal', //库存统计总量数据 （对应第一行前两个矩形方块里的数据）
  inventoryStatisticsStatisticsGeneral: 'business/inventoryStatistics/statisticsGeneral', //库存统计概览数据 对应第一行后两个矩形方块里的数据）
  inventoryDelete: 'business/inventory/delete', //删除库存
  saleOrderDelete: 'business/saleOrder/delete', //删除订单
  saleOrderUpdate: 'business/saleOrder/update', //编辑订单
  relatedSaleOrders: 'business/saleOrder/getRelatedSaleOrders', //订单详情-商品信息
  saleOrderInfo: 'business/saleOrder/getSaleOrder', //订单详情-客户信息
  inventoryAdd: 'business/inventory/add', //新增库存
  inventoryUpdate: 'business/inventory/update', //更新库存
  addSaleOrder: 'business/saleOrder/add', //添加订单
  companySale: 'business/companySale/getAllByCompanyId', //查询业务员
  inventoryAll: 'business/inventory/getAll', //库存列表
  exportSaleOrderList: 'business/saleOrder/export', //获取导出订单列表数据
  productBrandArticleNoDeleteBatch: 'business/productBrandArticleNo/deleteBatch', //批量删除商品
  getProductByBrand: 'business/productBrandArticleNo/exportProduct', //获取品牌下所有产品--文件流
  getAllProductByBrand: 'business/productBrandArticleNo/queryAllProduct', //获取品牌下所有产品--数据流
  productBrandDeleteBatch: 'business/productBrand/deleteBatch', //批量删除品牌
  productSupplierDeleteBatch: 'business/productSupplier/deleteBatch', //批量删除
  customerPurchaserDeleteBatch: 'business/customerPurchaser/deleteBatch',
  researchGroupDeleteBatch: 'business/researchGroup/deleteBatch', //课题组
  customerDeleteBatch: 'business/customer/deleteBatch', //客户批量删除
  batchAddSpecification: 'business/productSpecification/batchAdd', //批量添加规格
  specificationAdd: 'business/productSpecification/add', //新增规格
  specificationUpdate: 'business/productSpecification/update', //修改规格
  specificationDelete: 'business/productSpecification/delete', //删除规格
  specificationAudit: 'business/productSpecification/audit', //审核规格
  productSpecificationAll: 'business/productSpecification/getAll', //获取规格列表，todo
  productSpecificationDeleteBatch: 'business/productSpecification/deleteBatch', //批量删除规格
  productSpecificationPageList: 'business/productSpecification/getPageList', //查询规格
  companyDeleteBatch: 'business/company/deleteBatch', //公司批量删除
  deleteStaffs: 'business/appUser/deleteStaffs', //普管的账号批量删除
  purchaserAdd: 'business/customerPurchaser/add', //新增采购人
  purchaserUpdate: 'business/customerPurchaser/update', //查看采购人
  purchaserByCustomerId: 'business/customerPurchaser/getAllByCustomerId', //查询采购人（所有）
  purchaserByResearchGroupId: 'business/customerPurchaser/getAllByResearchGroupId', //查询采购人
  purchaserDelete: 'business/customerPurchaser/delete', //删除采购人
  researchGroupAdd: 'business/researchGroup/add', //新增课题组
  researchGroupUpdate: 'business/researchGroup/update', //更新课题组
  researchGroupDelete: 'business/researchGroup/delete', //删除课题组
  researchGroupAll: 'business/researchGroup/getAllByCustomerId', //查看课题组
  customerAdd: 'business/customer/add', //添加客户
  customerUpdate: 'business/customer/update', //更新客户
  customerDelete: 'business/customer/delete', //删除客户
  customerAll: 'business/customer/getAll', //客户列表
  unitUpdate: 'business/unit/update', //更新计量单位
  unitAdd: 'business/unit/add', //新增计量单位
  unitDelete: 'business/unit/delete', //删除计量单位
  unitDeleteBatch: 'business/unit/deleteBatch', //计量单位批量删除
  unitAuditBatch: 'business/unit/auditBatch', //计量单位批量删除
  unitAudit: 'business/unit/audit', //删除计量单位
  unitPageList: 'business/unit/getPageList', //查询计量单位列表
  unitAll: 'business/unit/getAll', //计量单位列表
  getStatisticsInfo: 'business/productBrandArticleNo/getStatisticsInfo', //商品统计信息
  productUpdate: 'business/productBrandArticleNo/update', //修改商品,废弃
  productAdd: 'business/productBrandArticleNo/add', //新增商品
  productDelete: 'business/productBrandArticleNo/delete', //删除商品
  productAll: 'business/productBrandArticleNo/getAllByProductBrandId', //商品列表
  feedbackPageList: 'business/feedback/getPageList', //获取反馈列表
  message: 'business/message/add', //发送站内信
  messageReceiveList: 'business/message/getReceivePageList', //消息收到列表
  messageSendList: 'business/message/getSendPageList', //消息发件列表
  messageDetail: '/business/message/getById', //消息详情
  feedbackCommit: 'business/feedback/commit', //提交反馈
  productAudit: 'business/productBrandArticleNo/audit', //审核产品
  uploadGoodsInfo: 'business/productBrandArticleNo/importProduct', //导入商品信息
  updataBrandData: 'business/productBrandArticleNo/organizeData', //更新商品信息
  uploadMeasurementInfo: 'business/unit/importUnit', //导入计量单位信息
  uploadSupplierInfo: 'business/productSupplier/importSupplier', //导入供应商信息
  uploadCustomerInfo: 'business/customer/importCustomer', //导入客户信息
  productBrandAll: 'business/productBrand/getAll', //品牌列表
  productBrandDelete: 'business/productBrand/delete', //删除品牌
  productBrandAudit: 'business/productBrand/audit', //审核品牌
  productBrandAdd: 'business/productBrand/add', //增加品牌
  productBrandUpdate: 'business/productBrand/update', //编辑品牌
  productSupplierUpdate: 'business/productSupplier/update', //编辑供应商
  productSupplierAdd: 'business/productSupplier/add', //添加供应商
  productSupplierDelete: 'business/productSupplier/delete',
  productSupplierList: 'business/productSupplier/getPageList', //分页供应商列表
  productSupplierPageList: 'business/productSupplier/getPageList', //供应商列表
  productSupplierAudit: 'business/productSupplier/audit', //审核供应商
  companySaleDelete: 'business/companySale/delete', //删除员工信息
  companySaleUpdate: 'business/companySale/update', //修改员工信息
  companySaleAdd: 'business/companySale/add', //添加员工信息
  companySaleAllByCompanyId: 'business/companySale/getAllByCompanyId', //员工信息列表
  companyAdd: 'business/company/add', //添加公司
  companyUpdate: 'business/company/update', //更新公司
  companyDelete: 'business/company/delete', //删除公司
  companyAll: 'business/company/getAll', //获取公司公司列表
  createAdministrator: 'business/appUser/createAdministrator',
  updateAdministrator: 'business/appUser/updateAdministrator',
  queryAllAdministrator: 'business/appUser/queryAllAdministrator', //超级管理员用户列表
  createStaff: 'business/appUser/createStaff', //创建员工账号
  updateStaff: 'business/appUser/updateStaff', //更新员工账号信息
  resetStaffPassword: 'business/appUser/resetStaffPassword', //重置员工账号密码
  distribute: 'business/appUser/distributePermission', //分配员工权限
  deleteStaff: 'business/appUser/deleteStaff', //删除员工
  modifyStaffStatus: 'business/appUser/modifyStaffStatus', //员工禁用启用
  queryAllStaff: 'business/appUser/queryAllStaff', //用户列表
  login: 'business/appUser/login', //登录接口
  saleOrderList: 'business/saleOrder/getPageList', //订单列表
  sendVerifyCode: 'business/sms/sendVerifyCode', //发送验证码
  resetPassword: 'business/appUser/resetPassword', //忘记密码
  registerAdministrato: 'business/appUser/registerAdministrator', //注册账号
  statisticsSaleQtyTrend: 'business/statistics/statisticsSaleQtyTrend', //销售趋势（数量）
  statisticsSaleAmountTrend: 'business/statistics/statisticsSaleAmountTrend', //销售趋势（金额）
  statisticsGeneral: 'business/statistics/statisticsGeneral', //订单统计概览数据
  getInventoryList: 'business/inventory/getInventoryList', //获取库存编码
  receivedPaymentsGeneral: 'business/receivedPayments/statisticsGeneral', //应收计概览数据
  statisticsReceivedAmountTrend: 'business/receivedPayments/statisticsReceivedAmountTrend', //应收统计回款额趋势
  statisticsReceivedQtyTrend: 'business/receivedPayments/statisticsReceivedQtyTrend', //应收统计回款笔数趋势
  statisticsHistoryBrand: 'business/inventoryStatistics/statisticsHistoryBrand', //库存统计历史入库品牌Top10
  statisticsHistoryOut: 'business/inventoryStatistics/statisticsHistoryOut', //库存统计历史出库Top10
  sendEmail: 'business/mail/send', //发送邮件
  queryReward: 'business/platformSetting/queryPromotionReward', //查询推广奖励
  saveReward: 'business/platformSetting/savePromotionReward', //保存推广奖励
  userinviteList: 'business/inviteDetail/selectPageList', //邀请详情分页列表
  adminRewardList: 'business/promotionRewardDetail/selectPageList', //推广奖励详情分页列表
  uploadScreenshot: 'business/promotionRewardDetail/uploadScreenshot', //上传推广奖励截图
  grantReward: 'business/promotionRewardDetail/grant', //推广奖励发放
  cancelGrant: 'business/promotionRewardDetail/cancelGrant' //推广奖励取消发放
  // ==========Lisuwan end==========
};
